{php}$count=1;{/php}{maccms:foreach name="obj.vod_play_list" key="play"}
{if$maccms.aid!=15&&$count==1}						    
<div class="playbtn">
	<a class="btn btn_primary" href="{:mac_url_vod_play($obj,['sid'=>$vo.sid,'nid'=>1])}"><i class="iconfont">&#xe63b;</i>&nbsp;立即播放</a>
</div>
{/if}
{php}$count++;{/php}{/maccms:foreach}
{php}$count=1;{/php}{maccms:foreach name="obj.vod_down_list"}
{if$maccms.aid!=16&&$count==1}						    
<div class="playbtn o_down"{if condition="$obj.vod_play_list gt 0"} style="margin-right: 0;"{/if}>
	<a class="btn btn_primary" href="{:mac_url_vod_down($obj,['sid'=>$vo.sid,'nid'=>1])}"><i class="iconfont">&#xe63c;</i>&nbsp;下载观看</a>
</div>
{/if}
{php}$count++;{/php}{/maccms:foreach}
{if condition="($obj.vod_play_list eq 0) OR ($obj.vod_down_list eq 0)"}
<div class="playbtn o_bg{if condition="$obj.vod_down_list gt 0"} btn-w{/if}">
	<a class="btn_wxgzh btn btn_primary" href="javascript:;"><i class="iconfont">&#xe63e;</i>&nbsp;微信观看</a>
</div>
{/if}